package com.dodoke.ojserver.mapper;

import com.dodoke.ojserver.bean.Users;
import com.dodoke.ojserver.bean.UserList;
import com.dodoke.ojserver.bean.dto.UsersDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserListMapper {

    List<Users> selectAll();

    List<Users> selectUserId(int id);

    void deleteUserId(int id);

    String deleteUserIdList(String[] ids);

    int addUser(Users users);


}
